<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="certDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='certDetail.heading'/>"/>
    <link rel="stylesheet" href='<c:url value="/kindeditor/themes/default/default.css"/>' />
	<link rel="stylesheet" href='<c:url value="/kindeditor/plugins/code/prettify.css"/>' />
	<script charset="utf-8" src='<c:url value="/kindeditor/kindeditor.js"/>'></script>
	<script charset="utf-8" src='<c:url value="/kindeditor/lang/zh_CN.js"/>'></script>
	<script charset="utf-8" src='<c:url value="/kindeditor/plugins/code/prettify.js"/>'></script>
	<script charset="utf-8" src='<c:url value="/scripts/jquery.min.js"/>'></script>
	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="introduce"]', {
				cssPath : '/kindeditor/plugins/code/prettify.css',
				uploadJson : '/kindeditor/jsp/upload_json.jsp',
				fileManagerJson : '/kindeditor/jsp/file_manager_json.jsp',
				allowFileManager : true,
				resizeType: 1,
				afterCreate : function() {
				}
			});
			prettyPrint();
		});
		KindEditor.ready(function(K) {
			var editor2 = K.create('textarea[name="process"]', {
				cssPath : '/kindeditor/plugins/code/prettify.css',
				uploadJson : '/kindeditor/jsp/upload_json.jsp',
				fileManagerJson : '/kindeditor/jsp/file_manager_json.jsp',
				allowFileManager : true,
				resizeType: 1,
				afterCreate : function() {
					
				}
			});
			prettyPrint();
		});
		
	</script>
</head>

<div>
<form name="form" action='<c:url value="/app/admin/category/add"/>' method="post" onsubmit="onSubmit(this)">
	<table border="1">
	<tr>
		<td><fmt:message key="category.name"/></td>
		<td><input name="name" type="text" style="width:400px"/></td>
	</tr>
	
	<tr>
		<td><fmt:message key="category.description"/></td>
		<td>
			<textarea name="description" style="padding:10px;margin:0px;width:600px; height:200px;">
			</textarea>
		</td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<input type="submit" style="width:200px;height:50px" value="<fmt:message key="submit"/>"/>
		</td>
	</tr>
	</table>
	
</form>
</div>
